<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1">
    <meta content="telephone=no" name="format-detection"/>
    <script>
        var isJsBridgeReady = false;
        var isZHKIOS= false;
        function readyFunc(device){
            isJsBridgeReady = true;
            if(device == 'true'){
              isZHKIOS = true;
            }
        }
    </script>
    <title>添加员工</title>
    <link rel="stylesheet" href="../css/pro_app.min.css">
    <link rel="stylesheet" href="../lib/yz-sm.min.css">
    <link rel="stylesheet" href="../lib/mobiscroll/mobiscroll.custom-2.17.0.min.css">
</head>

<body>
<div class="page-group">
    <div class="page open-wcpay" id="addEmployeePage">
        <div class="scroll-view">
            <ul class="header">
                <li class="left"><a class="back"><i class="zhk-nav_back"></i>返回</a></li>
                <li class="middle">添加员工</li>
                <li class="right"><a href="javascript:void(0)" name="sub_add">添加</a></li>
            </ul>
            <div class="page-body">
                <div id="userAddContainer"/>
            </div>
            <script type="text/template" id="userAddTPL">
                <div class="form-wrapper">
                    <ul>
                        <li>
                            <span>员工姓名</span>
                            <div>
                                <input type="text" class="input-active-name" id="employeeName" placeholder="请填写员工姓名" maxlength="10" required/>
                                <i class=" zhk-list_gb"></i>
                            </div>
                        </li>
                        <li>
                            <span>手机号码</span>
                            <div>
                                <input type="tel" class="input-active-name" id="employeeMobile" placeholder="请输入手机号" maxlength="11" required/>
                                <i class=" zhk-list_gb"></i>
                            </div>
                        </li>
                        <li>
                            <span>员工编号</span>
                            <div>
                                <input type="text" class="input-active-name" id="employeeCode" placeholder="请输入员工编号" maxlength="20" required/>
                                <i class=" zhk-list_gb"></i>
                            </div>
                        </li>
                       <!-- <li>
                            <span>在职状态</span>
                            <div class="select-list">
                                <select id="work-status">
                                </select>
                                <i class="zhk-list_rarrow"></i>
                                <input type="hidden" id="onjobStatus"  value="">
                            </div>
                        </li>-->
                    </ul>
                    <ul>
                        {{if role!=4}}
                        <li>
                            <span>编制归属</span>
                            <div class="select-list">
                                <select id="rganization">
                                </select>
                                <i class="zhk-list_rarrow"></i>
                                <input type="hidden" name="rganization" id="affiliation" value="">
                            </div>
                        </li>
                        <li class="showShop hide">
                            <span>所属门店</span>
                            <div>
                                <a href="javascript:void(0)"name="select_store">
                                    <input type="text" id="shopId" placeholder="请选择所属门店">
                                    <i class="zhk-list_rarrow"></i>
                                </a>
                            </div>
                        </li>
                        {{/if}}
                        <li>
                            <span>员工角色</span>
                            <div class="select-list">
                                <select id="employee-role">
                                </select>
                                <i class="zhk-list_rarrow"></i>
                                <input type="hidden" id="employeeLevel" name="employee-role" value="">
                            </div>

                        </li>
                    </ul>
                </div>
            </script>
        </div>
    </div>
</div>
<script src="../lib/zepto.min.js"></script>
<script src="../lib/yz-sm.min.js"></script>
<script src="../lib/template.js"></script>
<script src="../lib/swiper.min.js"></script>

<script src="../base/recalc.js" compress="../base/base.js"></script>
<script src="../base/dialog.js" compress="../base/base.js"></script>
<script src="../base/common.js" compress="../base/base.js"></script>
<script src="../base/appservice.js" compress="../base/base.js"></script>
<script src="../base/h5service.js" compress="../base/base.js"></script>
<script src="../base/sessionstorage.js"  compress="../base/base.js"></script>
<script src="../lib/mobiscroll/mobiscroll.custom-2.17.0.min.js"></script>
<script src="../js/addEmployeeA.js" compress="../js/main.js"></script>
<script src="../js/addEmployeeC.js" compress="../js/main.js"></script>

</body>
</html>
